﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Card.DataBase
{
    public class Pagination
    {
        private string _TableName = string.Empty;

        public string TableName
        {
            get { return _TableName; }
            set { _TableName = value; }
        }
        private string _ShowColumns = "*";

        public string ShowColumns
        {
            get { return _ShowColumns; }
            set { _ShowColumns = value; }
        }
        private string _OrderBy = string.Empty;

        public string OrderBy
        {
            get { return _OrderBy; }
            set { _OrderBy = value; }
        }
        private string _Condition = string.Empty;

        public string Condition
        {
            get { return _Condition; }
            set { _Condition = value; }
        }

   
        private int _PageNumber = 1;

        public int PageNumber
        {
            get { return _PageNumber; }
            set { _PageNumber = value; }
        }
        private int _PageSize = 20;

        public int PageSize
        {
            get { return _PageSize; }
            set { _PageSize = value; }
        }
        private int _RecordCount = 0;

        public int RecordCount
        {
            get { return _RecordCount; }
            set { _RecordCount = value; }
        }
    }
}
